package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 【请填写功能名称】对象 warehouse
 * 
 * @author ruoyi
 * @date 2023-05-26
 */
public class Warehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库编号
 */
    private String warehouseId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String warehouseAddress;

    /** 仓库容量 */
    @Excel(name = "仓库容量")
    private String warehouseCapacity;

    /** 仓库面积 */
    @Excel(name = "仓库面积")
    private String warehouseArea;

    /** 仓库介绍 */
    @Excel(name = "仓库介绍")
    private String warehouseExplain;

    /** 仓库负责人 */
    @Excel(name = "仓库负责人")
    private String warehousePrincipal;

    /** 仓库负责人电话 */
    @Excel(name = "仓库负责人电话")
    private String warehousePrincipalTel;

    private List<StorageLocation> storageLocationList = new ArrayList<>();

    public void setWarehouseId(String warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId() 
    {
        return warehouseId;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setWarehouseAddress(String warehouseAddress) 
    {
        this.warehouseAddress = warehouseAddress;
    }

    public String getWarehouseAddress() 
    {
        return warehouseAddress;
    }
    public void setWarehouseCapacity(String warehouseCapacity) 
    {
        this.warehouseCapacity = warehouseCapacity;
    }

    public String getWarehouseCapacity() 
    {
        return warehouseCapacity;
    }
    public void setWarehouseArea(String warehouseArea) 
    {
        this.warehouseArea = warehouseArea;
    }

    public String getWarehouseArea() 
    {
        return warehouseArea;
    }
    public void setWarehouseExplain(String warehouseExplain) 
    {
        this.warehouseExplain = warehouseExplain;
    }

    public String getWarehouseExplain() 
    {
        return warehouseExplain;
    }
    public void setWarehousePrincipal(String warehousePrincipal) 
    {
        this.warehousePrincipal = warehousePrincipal;
    }

    public String getWarehousePrincipal() 
    {
        return warehousePrincipal;
    }
    public void setWarehousePrincipalTel(String warehousePrincipalTel) 
    {
        this.warehousePrincipalTel = warehousePrincipalTel;
    }

    public String getWarehousePrincipalTel() 
    {
        return warehousePrincipalTel;
    }

    public List<StorageLocation> getStorageLocationList() {
        return storageLocationList;
    }

    public void setStorageLocationList(List<StorageLocation> storageLocationList) {
        this.storageLocationList = storageLocationList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseId", getWarehouseId())
            .append("warehouseName", getWarehouseName())
            .append("warehouseAddress", getWarehouseAddress())
            .append("warehouseCapacity", getWarehouseCapacity())
            .append("warehouseArea", getWarehouseArea())
            .append("warehouseExplain", getWarehouseExplain())
            .append("warehousePrincipal", getWarehousePrincipal())
            .append("warehousePrincipalTel", getWarehousePrincipalTel())
            .toString();
    }
}
